//
//  WTRobotGetService.m
//  WTLiveSDKDemo
//
//  Created by ben on 2016/11/4.
//  Copyright © 2016年 ben. All rights reserved.
//

#import "WTRobotGetService.h"

@implementation WTRobotGetService

- (void)start:(NSDictionary *)param completionHandler:(WTServiceCompletionHandler)completionHandler{
    
    self.subPath = @"/live/getrobots";
    self.param = param;
    
    [HYBNetworking postWithUrl:self.subPath refreshCache:YES params:@{@"hash":[self encode]} success:^(id response) {
        
        NSInteger code = [response[@"code"] integerValue];
        if(code == 200){
            NSInteger statusCode = [response[@"hash"][@"StatusCode"] integerValue];
            if(statusCode == 6){
                
            }else {
                
            }
        }else {
            
        }
        
    } fail:^(NSError *error) {
        completionHandler(nil,error);
    }];

    
}
@end
